package day07;

import com.sun.org.apache.xml.internal.resolver.helpers.PublicId;

import java.security.PublicKey;

/**
 * 说明:
 *
 * @author: luohaowei
 * @date:2023/2/20
 **/
public class zio {
    public static void main(String[] args) {
        show();
        show("XL");
        show(22);
        show("XL",22);
        show(22,"XL");
    }
    public static void show(){ }
    public static void show(String name){ }
    public static void show(int age){}
    public static void show(String name,int age){}
    public static void show(int age,String name){}
    //public static void (){return 1;}//编译错误重载与返回值无关
   // public static void (String address){}//编译错误重载与参数名无关
}
/*
 show();
        show("XL");
        show(22);
        show("XL",22);
        show(22,"XL");
    }
    public static void show(){ }
    public static void show(String name){ }
    public static void show(int age){}
    public static void show(String name,int age){}
    public static void show(int age,String name){}
 */